package com.zg.nacos.domain.req;

import com.zg.common.core.req.BaseReq;
import com.zg.common.core.req.IReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/6/23 20:11
 */
@Data
@ApiModel
public class ServiceInfoReq extends NacosReq {

    @ApiModelProperty(value = "服务名称", required = true)
    @NotEmpty(message = "服务名称不能为空")
    private String name="zg-apis";

    @ApiModelProperty(value = "分组", required = true)
    @NotEmpty(message = "分组不能为空")
    private String groupName;

    @ApiModelProperty(value = "命名空间", required = true)
    @NotEmpty(message = "命名空间不能为空")
    private String namespaceId;
}
